Laravel migration refresh

41

how to migrate single table in laravel -

php artisan migrate --path=/database/migrations/2020_04_10_130703_create_test_table.php

Laravel migration refresh -

php artisan migrate:refresh --seed

artisan refresh -

Try this command it works for me

php artisan migrate:fresh
However, be careful! This command will drop all data from your DB:

Comments

Submit
0 Comments